package com.yhy.wxzn.wms.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yhy.wxzn.wms.entity.WmsAsn;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 收货单
 * @Author: jeecg-boot
 * @Date:   2023-10-31
 * @Version: V1.0
 */
public interface IWmsAsnService extends IService<WmsAsn> {

    /**列表查询*/
    IPage<WmsAsn> pageSelf(Page<WmsAsn> page, QueryWrapper<WmsAsn> queryWrapper);

    /**新增ASN*/
    void addAsn(WmsAsn wmsAsn);

    /**整单分配*/
    void allocateBatch(String asnIds);

    /**整单分发*/
    void dispatchBatch(String asnIds);

}
